const mongoose = require('mongoose')
const { Schema, model } = mongoose
const PhotosSchema = new Schema({
    img_url: { type:String, require:true},
    img_title: { type:String, require:true},
    img_introduce: {type:String, require:true},
    date: {type:String, require:true},
    time: {type:String, require:true},
    tv_title: {type:String, require:true},
    tv_link: {type:String, require:true},
    child_route: {type:String, require:true},
})
const Photos = model('photos', PhotosSchema)
module.exports = Photos
